Added several prototype methods and enumerables.