Feature: Add register_api method