Consistent function declarations
Encapsulate library import