Made buildStatic code comply with camelcase naming