Implement the following methods.

- extract
- fmap
- padding
- extend
- templates
- clone