Normalize attribute access methods in template