Attributes: A bit of implementation and a test (not all green yet).