Replaced manual columns specification with automatic reading of columns' names from database.