extend added

Added utility for more convenient prototype extending