Added method to get the custom variable attributes