Enforcing convention on adapter class