removed pointer and factory typedefs

These typedefs are not used, hence I've removed them.