Added function.append, .copy, .extends, .prepend and .rename. Modified all services to support simple inheritance.