Added necessary methods to timestamp trait