removing optional framework hooks