Unused function removed from model