Use dot notation instead of [] notation where appropriate