compiled with advance optimization

Add few param annotation and make some changes in object inherit pattern similar to closure library.