Added few helper methods in core libraries.