Removed database functions because they re not generic