Implemented stub for create Entity. Fixed exception.