Mention what kind of code can be used in hooks