Update API calls in Actor class

Otherwise actors can't be instantiated