Add get() and head() functions