Updated for 0.8 API methods

@jacobawenger please review if you have a chance
Is this now called $extendFactory?