Adapted to Build Types.