exchanged `.name` for `.alias` (resolves conflict with later versions of javascript (`.name` is a read only property on constructors?)).