Cleaned up warnings in the attackfactory