apache defines turned into classes