Make BlockFactory a singleton.