Added possibility to declare exceptions for manually defined constructors or methods. Several renaming.