[Specification] Move hooks DSL attributes to Deprecated module