Inline some functions.