Add all members to functions

Add all members to equals and hash. Also override toString.