Added required API methods. API functions properly.