Remove unnecessary function.

This function is never used after refactor to CRUD module.