Inline some simple functions.