Feature/compile form hook