Filter out prototype properties when appending attributes. Closes #31