Adding type accessors