Added some attribute functions.