Added Reference Class and changed hardcoded strings to Reference.*