Dynamically load API methods. Needs further testing.