extend added

Added utility for more convenient prototype extend