Remove direct reference to Security in form, reference the instance in Core.  Also add Automodule the same way.