Cleaned up passes definition.