Removed unnused function from activity schema