Added static type accessors
Fixed bug caused by using arguments.length