Implementing session task getter methods

Minor reformatting