Implement bindings for custom metrics