move entity hook into included file.