Add base method for create entity.