Can stay out, didn't work anyway and needs to be placed in the API class.