removed unnecessary newlines & spaces
match magic fields when they are accessed as attributes as well as globally
allow instantiation of buit-in exceptions