Added missing trait methods.