Inline these functions since they are only one line and dead simple anyway