Implementing autoforms hoooks