Pattern getter && setter missing from classes