Fixed API dependencies
Merge pull request #286 from Bladrak/api

Fixed API dependencies Fix issue #490