Validate class parameters.
Fix extensions management.
Add aliases support.