Exposed functions and introduced attribute to return elapsed time