Warning fix - lack of equals method