Define all public attributes in the constructor