Retrieve only whitelisted attributes

Closes #24