Added common functions to the base entity