Fixed an issue where incorrect create method was being called.