Added namespace and acl checks for files included using the included plugin.