Classes for "First" function implementation added.