Implemented pointer factory.